package bhbt.controller.admin.member;


import java.util.HashMap;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import bhbt.controller.core.BaseController;
import bhbt.service.DailiShengService;
import bhbt.taglib.pagetag.Pagination;






/**
 * Created by Administrator on 2016/3/25.
 */
@Controller

public class DailiShengListController extends BaseController {
    @Resource
    private DailiShengService dailiShengService;
   
   
    @RequestMapping("admin/member/dailiShengList.shtml")
    public String list(HttpServletRequest request) throws Exception{
        HashMap formMap = getParameterMap(request);
      
        formMap.put("pagination.orderBy","a.id desc");
        Pagination page = dailiShengService.queryForPageList("dailiShengForPage",formMap);
       
        request.setAttribute(Pagination.pageBeanName, page);
        
        
        
        return "admin/member/dailiShengList";
    }

  
}
